package cn.hua.trip.base.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class JSONResult {

    private boolean success=true;

    private String msg;

    //存放请求成功之后的数据
    private Object data;

    public JSONResult mark(String msg){
        this.msg=msg;
        success=false;
        return this;
    }
}
